cmake_minimum_required(VERSION 3.28)
project(compiler_ccv2 C)

set(CMAKE_C_STANDARD 11)

add_executable(compiler_ccv2 main.c
        lexer.c
        lexer.h
        test.h
        parser.c
        parser.h
        ast_printer.c
        ast_printer.h
        symbol_table.c
        symbol_table.h
        semantic_analyzer.c
        semantic_analyzer.h
)
